#pragma once

#include "Renderable.h"

namespace Core
{
	struct Position;
}
using Core::Position;

namespace Graphics
{
	class Viewport;

	class Renderable2D:public Renderable
	{
	private:
		Viewport* m_pViewport;

	public:
		Renderable2D(void);
		virtual ~Renderable2D(void) = 0;

		// Get position
		virtual const Position& GetPos() = 0;

		// Get/Set viewport
		void SetViewport(Viewport* viewport);
		Viewport* GetViewport(void);
	};
}